home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14520 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  649 b 

  1. Path: news.mira.net.au!news
  2. From: davidw@werple.net.au (David White)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: copy ctor for abstract classes?
  5. Date: 31 Mar 1996 19:55:45 +1000
  6. Organization: Werple Internet, Melbourne
  7. Message-ID: <4jlkr1$nt9@werple.net.au>
  8. References: <4jk8kg$e9h@darkstar.UCSC.EDU>
  9. NNTP-Posting-Host: werplez.mira.net.au
  10.  
  11. ray@cse.ucsc.edu (Ray Swartz) writes:
  12.  
  13. >Should an abstract base class have a copy constructor?
  14.  
  15. If it has members to copy, and you want to be able to copy them, then a 
  16. copy constructor is probably a good idea. Being abstract has no bearing 
  17. on whether it should have one.
  18.  
  19. David White
  20. davidw@werple.mira.net.au
  21.  
  22.